AlphaZ and the Polyhedral Equational Model

نویسندگان

  • Tomofumi Yuki
  • Sanjay Rajopadhye
چکیده

With the emergence of multi-core processors, parallelism has gone main-stream. However, parallel programming is difficult for many reasons. Programmers now must think about which operations can legally be executed in parallel, when to insert synchronizations, and so on. In addition, parallelism and non-determinism nature of it makes debugging much harder. One approach to address this problem is automatic parallelization, where programmers still write sequential code, and it is left to the compiler to parallelize the program. However, automatic parallelization is extremely difficult, and even after decades of research it still remains largely unsolved. An alternative approach is to develop parallel programming languages, designed to write parallel programs from the beginning [1], [2], [3], [4], [5], [6]. One area where automatic parallelization has been successful is regular and dense computations that fit the polyhedral model. Although the applicable class of programs are restricted, fully automatic parallelization has been achieved for polyhedral programs. Approaches based on polyhedral analyses are now part of production compilers [7], [8], and many research tools [9], [10], [11], [12], [13], [14] that use the polyhedral model have been developed. The polyhedral model has its origins in reasoning of systems of equations [15]. When programs are defined as equations, there is no notion of memory or execution order. What needs to be computed are defined purely in terms of values produced by other equations. The connection between loop programs and equational representations was later made by Feautrier [16] through array dataflow analysis. Array dataflow analysis gives precise valuebased dependence information, which can be used to take loop programs into equational view. This equational view is synonimous to the polyhedral representation of programs that the polyhedral compilers manipulate. By giving concrete syntax to polyhedral representations of programs, we have an equational language to specify polyhedral programs. In this paper, we illustrate some of the benefits of equational programming, from perspectives of both users and compilers. We also present the AlphaZ [17] system that provides polyhedral analyses, transformations, and code generators for such equational language.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Foundations I

These notes describe the mathematical foundations of some of the the important concepts that we encounter in this class. In this first part we will motivate equational programming in the polyhedral model through a number of examples using the Alphabets language. Then, we present the core of Alphabets as systems of recurrence equations and give a taxonomy of such equations. We will use the Alpha...

متن کامل

AlphaZ: A System for Design Space Exploration in the Polyhedral Model

The polyhedral model is now a well established and effective formalism for program optimization and parallelization. However, finding optimal transformations is a long-standing open problem. It is therefore important to develop tools that, rather than following predefined optimization criteria, allow practitioners to explore different choices through script-driven or user-guided transformations...

متن کامل

Robust portfolio selection with polyhedral ambiguous inputs

 Ambiguity in the inputs of the models is typical especially in portfolio selection problem where the true distribution of random variables is usually unknown. Here we use robust optimization approach to address the ambiguity in conditional-value-at-risk minimization model. We obtain explicit models of the robust conditional-value-at-risk minimization for polyhedral and correlated polyhedral am...

متن کامل

Automatic Complexity Reduction with the Polyhedral Equational Model

The Bird-Meertens formalism [1, 2] is one of many well known techniques for systematic program derivation. The primary focus of such formalisms is to provide a framework for validating the transformations used. They usually are not intended to help decide what transformations to apply. The framework may allow concise validation/proof of each step in the transformation, but human intuition is st...

متن کامل

Removal of methylene blue using polyacrylic acid/ octavinyl polyhedral oligomeric silsesquioxane nanocomposite

Polyacrylic acid/ octavinyl polyhedral oligomeric silsesquioxane, nanocomposite hydrogel with 3-D network was synthesized via radical polymerization. Octavinyl polyhedral oligomeric silsesquioxane was used as crosslinker and nanofiller simultaneously in the preparation of the hydrogel. Hydrogel adsorption performance was determined by adsorption of methylene blue. The adsorption capacity was ev...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012